package com.example.xpvideo.entity;

import java.math.BigDecimal;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * (LsTeamGoods)实体类
 *
 * @author 
 * @since 2021-09-26 11:12:06
 */
@ApiModel("$tableInfo.comment")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class LsTeamGoods implements Serializable {
    private static final long serialVersionUID = 703591731843087597L;
        /**
    *主键
    * 主键ID
    * isnull 1
    */
    @ApiModelProperty(value="主键ID",position=1)
    private Integer id;

    /**
    * 团活动ID
    * isnull 0
    */        @ApiModelProperty(value="团活动ID",position=2)
    private Integer teamId;
    /**
    * 商品ID
    * isnull 0
    */        @ApiModelProperty(value="商品ID",position=3)
    private Integer goodsId;
    /**
    * 规格ID
    * isnull 0
    */        @ApiModelProperty(value="规格ID",position=4)
    private Integer itemId;
    /**
    * 拼团价
    * isnull 0
    */        @ApiModelProperty(value="拼团价",position=5)
    private BigDecimal teamPrice;
    /**
    * 销量
    * isnull 0
    */        @ApiModelProperty(value="销量",position=6)
    private BigDecimal salesVolume;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }
        
    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
        
    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }
        
    public BigDecimal getTeamPrice() {
        return teamPrice;
    }

    public void setTeamPrice(BigDecimal teamPrice) {
        this.teamPrice = teamPrice;
    }
        
    public BigDecimal getSalesVolume() {
        return salesVolume;
    }

    public void setSalesVolume(BigDecimal salesVolume) {
        this.salesVolume = salesVolume;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"teamId\":" + teamId +
                            " ,\"goodsId\":" + goodsId +
                            " ,\"itemId\":" + itemId +
                            " ,\"teamPrice\":" + teamPrice +
                            " ,\"salesVolume\":" + salesVolume +
                  '}';
    }


}
